/**
 * 物流管理路由
 */
export default [
  {
    path: '/logistics',
    meta: { requiresAuth: true },
    children: [
      {
        path: 'orders',
        name: 'LogisticsOrders',
        component: () => import('@/views/logistics/Orders.vue'),
        meta: { title: '物流订单' }
      },
      {
        path: 'transport',
        name: 'LogisticsTransport',
        component: () => import('@/views/logistics/Transport.vue'),
        meta: { title: '运输管理' }
      },
      {
        path: 'tracking',
        name: 'LogisticsTracking',
        component: () => import('@/views/logistics/Tracking.vue'),
        meta: { title: '物流跟踪' }
      },
      {
        path: 'carriers',
        name: 'LogisticsCarriers',
        component: () => import('@/views/logistics/Carriers.vue'),
        meta: { title: '承运商管理' }
      },
      {
        path: 'freight',
        name: 'LogisticsFreight',
        component: () => import('@/views/logistics/Freight.vue'),
        meta: { title: '运费管理' }
      },
      {
        path: 'routes',
        name: 'LogisticsRoutes',
        component: () => import('@/views/logistics/Routes.vue'),
        meta: { title: '配送路线' }
      },
      {
        path: 'delivery-tasks',
        name: 'LogisticsDeliveryTasks',
        component: () => import('@/views/logistics/DeliveryTasks.vue'),
        meta: { title: '配送任务' }
      },
      {
        path: 'statistics',
        name: 'LogisticsStatistics',
        component: () => import('@/views/logistics/Statistics.vue'),
        meta: { title: '物流统计' }
      }
    ]
  }
]

